html, body, #root {
  height: 100%;
}

body {
  margin: 0;
  min-width: 1300px;
}

.empty {
  width: 100%;
  height: calc(100vh - 84px);
  margin: 0;
  padding: 100px 0;
  text-align: center;
  background-color: white;
}

:global {
  .table-wrapper {
    .ant-table-content {
      border: 1px solid #eee;
      border-bottom: none;
    }
  }

  .ant-select-dropdown {
    z-index: 10002;
  }

  .global-pagination {
    text-align: right;
    margin-top: 20px !important;
  }

  .table-action {
    &:not(:last-child) {
      margin-right: 5px;
    }
  }

  .ant-upload.ant-upload-select {
    display: block !important;
  }

  .ant-menu-dark.ant-menu-horizontal>.ant-menu-item {
    a {
     color: white;
    }
  }

  .ant-menu-dark.ant-menu-horizontal>.ant-menu-item-selected {
    background: transparent !important;
    a {
      color: #3E9CFF !important;
    }
  }

  .ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title {
    color: #FFFFFF !important;
  }

  .ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu-selected .ant-menu-submenu-title {
    color: #3E9CFF !important;
  }

  .ant-menu-submenu-title,.ant-menu-item {
    span.title,a.title {
      white-space: nowrap; /* 确保文本在一行内显示 */
      overflow: hidden; /* 隐藏溢出的内容 */
      text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
    }
  }


  //.ant-menu-submenu-popup {
  //  .ant-menu-item {
  //    background: transparent !important;
  //    a {
  //      color: white !important;
  //    }
  //  }
  //  .ant-menu-item-active, .ant-menu-item-selected {
  //    a {
  //      color: #3E9CFF !important;
  //    }
  //  }
  //}

  .space8 {
    display: inline-flex;
    //flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    .ant-calendar-range-picker-input {
      width: 140px;
    }
  }

  .space3 {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }
}
